import request from "@/utils/request";

export function listSampleOrg(query){
  return request({
    url: '/sampleOrg/list',
    method: 'get',
    params: query
  })
}


export function addSampleOrg(data){
  return request({
    url: '/sampleOrg/add',
    method: 'post',
    data: data
  })
}


export function getSampleOrg(id){
  return request({
    url: '/sampleOrg/' + id,
    method: 'get'
  })
}


export function updateSampleOrg(data){
  return request({
    url: '/sampleOrg/update',
    method: 'post',
    data: data
  })
}

export function deleteSampleOrg(ids){
  return request({
    url: '/sampleOrg/' + ids,
    method: 'delete'
  })
}
